package com.tiancheng.trade.settlement.service.settlement;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tiancheng.trade.commom.core.data.PageInfo;
import com.tiancheng.trade.settlement.model.settlement.SettleDetail;
import com.tiancheng.trade.settlement.vo.settlement.admin.SettleDetailQueryVo;
import com.tiancheng.trade.settlement.vo.settlement.admin.res.SettleDetailResVo;
import com.tiancheng.trade.settlement.vo.settlement.admin.res.SettleExceptionDataResVo;

import java.util.List;
import java.util.Set;

/**
 * * 交易资金对账明细表service
 *
 * @author likailun
 * @date 2021/3/30
 */
public interface ISettleDetailService extends IService<SettleDetail> {
    /**
     * 查询对账明细列表
     *
     * @param detailQueryVo 查询条件
     * @return
     */
    PageInfo<SettleDetailResVo> findList(SettleDetailQueryVo detailQueryVo);

    /**
     * 对账异常数据
     *
     * @param checkCode 查询条件
     * @return
     */
    SettleExceptionDataResVo findExceptionData(String checkCode);

    /**
     * 根据对账编号集合查询对账明细记录
     * @param checkCodes
     * @return
     */
    List<SettleDetailResVo> pageByCheckCodes(Set<String> checkCodes,int startId,int start,int size);

    /**
     * 根据对账编号集合查询对账明细记录
     * @param checkCodes
     * @return
     */
    Long countByCheckCodes(Set<String> checkCodes);

}
